#ifndef QT_CCNODE_EDITOR_H
#define QT_CCNODE_EDITOR_H

#include "QtGui"
#include "CCQTControllerManager.h"
#include "cocos2d.h"
#include "qtcoco/CocoHieriachy.h"

using namespace cocos2d;
namespace Ui {
class PEditor_CCNode;
}

class PEditor_CCNode :  public AbstractPEditor
{
    Q_OBJECT
    
public:
    explicit PEditor_CCNode(QWidget *parent = 0);
    ~PEditor_CCNode();
    
    
    QDoubleSpinBox  * m_doubleSpinBox_x;
    QDoubleSpinBox * m_doubleSpinBox_2_y;
    QDoubleSpinBox*  m_doubleSpinBox_3_scaleX;
    QDoubleSpinBox  *m_doubleSpinBox_4_scaleY;
    QDoubleSpinBox *m_doubleSpinBox_5_rotate;
    
     virtual QString regName();
	 void disableAll ();
     void enableAll();
     
     virtual void checkNode(const QCocoNode &node) ;
private slots:

	void on_doubleSpinBox_x_valueChanged(double arg1);
    
    void on_doubleSpinBox_2_y_valueChanged(double arg1);
    
    void on_doubleSpinBox_3_scaleX_valueChanged(double arg1);
    
    void on_doubleSpinBox_4_scaleY_valueChanged(double arg1);
    
    void on_doubleSpinBox_5_rotate_valueChanged(double arg1);

private:
    Ui::PEditor_CCNode *ui;
};

#endif // QT_CCNODE_EDITOR_H
